#ifndef __APEXBRAIN_USERWIDGET_H_
#define __APEXBRAIN_USERWIDGET_H_

#include <QWidget>
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkRequest>
#include "global.h"

namespace Ui {
class UserWidget;
}

class UserWidget : public QWidget
{
    Q_OBJECT

public:
    explicit UserWidget(QWidget *parent = nullptr);
    ~UserWidget();

protected:
    void closeEvent(QCloseEvent *event) override;

private:
    Ui::UserWidget *ui;
    QNetworkAccessManager *m_networkAccessManager;
};

#endif // __APEXBRAIN_USERWIDGET_H_
